﻿using Furion.DatabaseAccessor;
using ST.Torch.WebApi.Core.Entities.System;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ST.Torch.WebApi.Core.Entities.SeedData
{

    public class SYSUserSeedData : IEntitySeedData<SYSUser>
    {
        public IEnumerable<SYSUser> HasData(DbContext dbContext, Type dbContextLocator)
        {
            List<SYSUser> SYSUsers = new List<SYSUser>();

  

            SYSUser user = new SYSUser();
            user.Account = "Administrator";
            user.Password = user.GetPassEncryption("000000");
            user.IsEnable = true;
            SYSUsers.Add(user);
            return SYSUsers;
            
        }

    }
    

}
